git clone  https://git.oschina.net/wr4ng1er/rsync-3.1.1.git

cd rsync-3.1.1/

./configure --prefix=/opt/rsyncd && make && make install

echo 'export PATH=$PATH:/opt/rsyncd/bin' >> /etc/profile 
source /etc/profile 
